package com.joolun.mall.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.joolun.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 工作信息点击记录对象 tb_work_click
 *
 * @author www.joolun.com
 * @date 2023-03-17
 */
@Data
@TableName("tb_work_click")
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "实习投递记录表")
public class WorkClick  extends Model<WorkClick> {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "序号")
    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "实习工作id")
    @TableField("work_id")
    private Integer workId;


    @ApiModelProperty(value = "投递用户id")
    @TableField("wx_user_id")
    private String wxUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
